package com.fund.client.pojo.entity;

import com.fund.common.enums.FlowChangeReason;
import com.fund.common.enums.FlowChangeType;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class BankCardFlow {
    private Long id;
    //银行卡id
    private Long cardId;
    //基金id
    private Long fundId;
    //变化后的新值
    private BigDecimal newBalance;
    //变化的值
    private BigDecimal changeValue;
    //流水变化的类别（进账还是支出）
    private FlowChangeType transactionType;
    //变化原因
    private FlowChangeReason reason;
    //交易时间
    private LocalDateTime tradeTime;
    //余额变化时间
    private LocalDateTime changeTime;
    //涉及操作员id
    private Long operatorId;

}
